/**
 * 
 */
package com.sl.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import com.sl.HelloWorldService;
import com.sl.log.RequestLogPrint;

/**
 * @author lunshi
 * TODO
 * @创建时间 2020 2020年3月10日 下午1:05:24
 * @email:shilun217@qq.com
 */
@RestController
public class HelloWorldTestController {
	@Autowired
	HelloWorldService helloWorldService;
	
	@RequestLogPrint(desc="----")
	@GetMapping(path= {"","/","/index"})
	public String index() {
		return helloWorldService.sayHelloWorld();
	}
}
